package com.huang.tiger.utils;

import java.util.Collection;

public class CollectionUtils {

    public static Boolean isNull(Collection collection){
        return ObjectUtils.isNull(collection);
    }
    public static Boolean isNotNull(Collection collection){
        return !isNull(collection);
    }
    public static Boolean isEmpty(Collection collection){
        return collection.size() == 0;
    }
    public static Boolean isNotEmpty(Collection collection){
        return isNotNull(collection) && collection.size() > 0;
    }
}
